cmake_minimum_required(VERSION 3.10)  
  
project(MyProject VERSION 1.0)  
  
set(PROJECT_NAME "MyProject")  
set(PROJECT_VERSION "1.0.0")  
  
# 使用 configure_file 命令处理模板文件  
configure_file(  
    "${CMAKE_CURRENT_SOURCE_DIR}/config.h.in"  
    "${CMAKE_CURRENT_BINARY_DIR}/config.h"
    @ONLY
)  
  
# 将生成的 config.h 添加到你的项目中  
include_directories(${CMAKE_CURRENT_BINARY_DIR})



#=========test==========================================



#=========test==========================================

